﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ChuanYe.CountyFireManagement.Model
{
    public class TaskMQTTResponseModel
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        public int TaskId { get; set; }

        /// <summary>
        /// 任务类型 0.巡查
        /// </summary>
        public int TaskType { get; set; }


        /// <summary>
        /// 目标用户(接收者)
        /// </summary>
        public int TargetUserId { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>

        public string TaskName { get; set; }

        /// <summary>
        /// 任务内容
        /// </summary>
        public string Describe { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime AddTime { get; set; }

        /// <summary>
        /// 发送者
        /// </summary>
        public  int SendUserId { get; set; }

        /// <summary>
        /// 发送者名称
        /// </summary>
        public string SendUserName { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public int Status { get; set; }
    }

    public class FeedbackMQTTResponseModel
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        public int TaskId { get; set; }

        /// <summary>
        /// 任务类型 0.巡查
        /// </summary>
        public int TaskType { get; set; }

        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }

        /// <summary>
        /// 任务内容
        /// </summary>
        public string Describe { get; set; }

        /// <summary>
        /// 发送者
        /// </summary>
        public int SendUserId { get; set; }

        /// <summary>
        /// 反馈时间
        /// </summary>
        public DateTime FeedbackTime { get; set; }


        /// <summary>
        /// 反馈内容
        /// </summary>
        public string FeedbackContent { get; set; }

        /// <summary>
        /// 接收者
        /// </summary>

        public int TargetUserId { get; set; }

        /// <summary>
        /// 接收者名称
        /// </summary>
        public string TargetUserName { get; set; }

        /// <summary>
        /// 反馈图片集合
        /// </summary>
        public List<string> ImagePaths { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public int Status { get; set; }

    }

}
